package com.franklin.validation.tool.annotations.franklin;

import com.franklin.validation.tool.annotations.BaseAnnotation;

/**
 * Description :
 * Create By: Franklin
 * Date : 2020/6/19 14:27
 */
public enum  ParamCheckAnnotations implements BaseAnnotation {

    PARAM_CHECK("ParamCheck","com.franklin.validation.core.annotations.ParamCheck"),
    PARAM_CHECK_SUB("ParamCheckSub","com.franklin.validation.core.annotations.ParamCheckSub"),
    NOT_NULL_FOR_MAP("NotNullForMap","com.franklin.validation.core.annotations.NotNullForMap");

    private String shortName;
    private String qualifiedName;

    ParamCheckAnnotations(String shortName, String qualifiedName) {
        this.shortName = shortName;
        this.qualifiedName = qualifiedName;
    }

    @Override
    public String getQualifiedName() {
        return this.qualifiedName;
    }

    @Override
    public String getShortName() {
        return this.shortName;
    }
}
